Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OMM] Remove validation masking, update spec #377

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

bob80905
Copy link
Collaborator

@bob80905 bob80905 commented Jan 30, 2025

No validation mask is needed for the new OMM flags. Source level validation is still needed to ensure the flags are used correctly, but the validator will not need to run the flags through a mask to validate them. Additionally, this PR removes any mention of flag value validation, except for one specific case where a RayQuery ray flag template argument necessitates the RayQuery ray query flag template argument's value.
This PR updates the spec to reflect new changes to the validator, and proposes some new diagnostics with the new RAYQUERY_FLAG_ALLOW_OPACITY_MICROMAPS flag. It defines a new DXIL OP, AllocateRayQuery2, which will be generated when RayQuery is given a 2nd, optional, ray query template flag argument in HLSL.

This PR is a transfer from #374

Fixes #375
Fixes #360

Copy link
Collaborator

@tex3d tex3d left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some more updates needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants